import module from './modulesConfig';
import createPersistedState from 'vuex-persistedstate';

export default {
  state: {
    show: true
  },
  modules: {
    search: module.search,
    site: module.site,
  },
  plugins: [createPersistedState({
    key: 'status',
    // 存放modules里面的数据
    paths: ['search', 'site'],
  })],
};
